<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label for="c-name" class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label for="c-speed" class="control-label col-xs-12 col-sm-2">{:__('Speed')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-speed" data-rule="required" min="0" class="form-control" name="row[speed]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label for="c-hardness" class="control-label col-xs-12 col-sm-2">{:__('Hardness')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-hardness" data-rule="required" min="0" class="form-control" name="row[hardness]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label for="c-duration" class="control-label col-xs-12 col-sm-2">{:__('时长')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-duration" data-rule="required" min="0" class="form-control" name="row[duration]" type="number" value="0">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
